@charset "utf-8";

//產品
.productbox{
    height: 546px;
    width: 100%;
    background: #f6f6f6;
    .product{
        height: 100%;
        width: 977px;
        margin: 0 auto;
        .item{
            width: 315px;
            height: 474px;
            background: #ffffff;
            margin-top: 72px;
            margin-right: 16px;
            float: left;
            #item1{
                background: #2395cb;
            }
            #item1::after{
                border-top-color:#2395cb;
            }
            .news{
                width: 100%;
                height: 168px;
                position: relative;
                text-align: center;
                .newspic{
                    position: absolute;
                    width: 53px;
                    height: 53px;
                    left: 50%;
                    margin-top: 15px;
                    margin-left: -26.5px;
                    img{
                        width: 100%;
                    }
                }
                p{
                    position: relative;
                    padding-top: 83px;
                    font-size: 18px;
                    color: #f6f6f6;
                }
                p::after{
                    position: absolute;
                    width: 106px;
                    margin-top: 23px;
                    margin-left: -89px;
                    top: 100%;
                    border-top: 1px #f6f6f6 solid;
                    content: "";
                }
                a{
                    height: 20px;
                    width: 116px;
                    position: relative;
                    padding-top: 117px;
                    font-size: 16px;
                    color: #F6F6F6;
                    line-height: 20px;
                    transition: 1s 0s;
                }
                a:hover{
                    color: red;
                }
            }
            .news::after{
                border-top: 21px solid #2395cb;
                border-right: 21px solid transparent;
                border-left: 21px solid transparent;
                bottom: -21px;
                position: absolute;
                left: 50%;
                margin-left: -21px;
                content: "";
            }
            .item-content{
                width: 315px;
                height: 306px;
                .ic-top{
                    width: 100%;
                    height: 157px;
                    padding-top: 29px;
                    #ic-top-title{
                        width: 299px;
                        margin-left: 18px;
                        font-size: 14px;
                        margin-bottom: 16px;
                    }
                    #ic-top-pic{
                        width: 111px;
                        height: 98px;
                        margin-left: 16px;
                        overflow: hidden;
                        float: left;
                        transition: 0.8s;
                    }
                    #ic-top-pic:hover{
                        margin-top: -3px;
                    }
                    #ic-top-text{
                        width: 126px;
                        font-size: 14px;
                        line-height: 24px;
                        float: left;
                        margin-left: 26px;
                    }
                }
                hr{
                    width: 283px;
                    border-style: dotted;
                    border-color: #dcdcdc;
                    margin: -8px auto;
                }
                .ic-text ol{
                    list-style: disc;
                    color: #2395cb;
                    padding-top: 27px;
                    padding-left: 28px;
                    li a{
                        font-size: 14px;
                        color: #272727;
                        transition: 0.5s;
                    }
                    a:hover{
                        color: red;
                    }
                }
            }
            #item2{
                background: #3ed1a4;
            }
            #item2::after{
                border-top-color:#3ed1a4;
            }
            
            .item2-pic{
                box-sizing: border-box;
                width: 315px;
                height: 190px;
                padding-top: 50px;
                .item2-prev{
                    width: 24px;
                    height: 32px;
                    float: left;
                    margin-top: 70px;
                    margin-right: 12px;
                    margin-left: 12px;
                    display: block;
                }
                .item2-p{
                    width: 218px;
                    height: 140px;
                    float: left;
                    img{
                        width: 100%;
                    }
                }
                .item2-next{
                    width: 24px;
                    height: 32px;
                    float: left;
                    margin-top: 70px;
                    margin-left: 8px;
                    display: block;
                    img{
                        width: 100%;
                    }
                }
            }
            .item2-text{
                box-sizing: border-box;
                width: 315px;
                height: 116px;
                text-align: center;
                padding-top: 15px;
                p:first-of-type{
                    font-size: 14px;
                    line-height: 34px;
                    color: #2395cb;
                }
                p~p{
                    font-size: 12px;
                    line-height: 32px;
                }
            }
            #item3{
                background: #895ea3;
            }
            #item3::after{
                border-top-color:#895ea3;
            }
            .item3-pic{
                box-sizing: border-box;
                width: 289px;
                height: 125px;
                margin: 45px auto 0;
                transition: 2s;
                img{
                    width: 100%;
                }
                
            }
            .item3-pic:hover{
                transform: scale(1.2);
            }
            .item3-text{
                margin: 35px auto 0;
                width: 308px;
                height: 76px;
                background: url(../img/item3-bg.png) no-repeat;
                text-align: justify;
                padding: 22px 30px 0 40px; 
                div{
                    width: 212px;
                    font-size: 12px;
                    line-height: 20px;
                }
            }
        }
        .item:nth-last-of-type(2){
            margin-right: 0px;
        }
    }
}

//关于我们
.about{
    width: 100%px;
    height: 497px;
    background: #f6f6f6;
    .about-title{
        box-sizing: border-box;
        width: 257px;
        height: 154px;
        margin: 0 auto;
        text-align: center;
        padding-top: 55px;
        p{
            font-size: 18px;
            line-height: 30px;
            font-weight: bold;
        }
        p~fieldset{
            width: 257px;
            border-top: solid 2px #c8c8c8;
            legend{
                color: #c8c8c8;
                font-size: 12px;
                line-height: 28px;
            }
        }
    }
    .about-text{
        box-sizing: border-box;
        height: 343px;
        width: 100%;
        background: url(../img/about-bg.png) no-repeat;
        text-align: center;
        padding-top: 43px;
        p{
            font-size: 14px;
            line-height: 25px;
            color: #272727;
        }
        .about-carou{
            box-sizing: border-box;
            width: 1051px;
            height: 169px;
            margin: 33px auto 0;
            background: #FFFFFF;
            border: 1px solid #e5e5e5;
            padding: 4px;
            .about-pic1{
                box-sizing: border-box;
                width: 51px;
                height: 159px;
                border: 1px solid #e8e8e8;
                overflow: hidden;
                transition: 1s 0s;
                
            }
            .about-pic2{
                box-sizing: border-box;
                width: 282px;
                height: 159px;
                border: 1px solid #e8e8e8;
                margin-left: 18px;
                overflow: hidden;
                transition: 1s 0s;
            }
            .about-pic3{
                box-sizing: border-box;
                width: 72px;
                height: 159px;
                border: 1px solid #e8e8e8;
                margin-left: 18px;
                overflow: hidden;
                transition: 1s 0s;
            }
            a:hover div{
                transform: scale(1.2);
            }
        }
    }
}

//联系我们
.contact{
    height: 642px;
    width: 100%;
    .contact-title{
        box-sizing: border-box;
        height: 106px;
        padding-top: 27px;
        margin: 0 auto;
        text-align: center;
        padding-top: 55px;
        p{
            font-size: 18px;
            line-height: 30px;
            font-weight: bold;
        }
        p~fieldset{
            width: 257px;
            margin: 0 auto;
            border-top: solid 2px #c8c8c8;
            legend{
                color: #c8c8c8;
                font-size: 12px;
                line-height: 28px;
            }
        }
    }
    .contact-content{
        box-sizing: border-box;
        height: 536px;
        width: 100%;
        padding-top: 52px;
        padding-left: 106px;
        .contact-left{
            width: 431px;
            height: 424px;
            margin-right: 39px;
            .bar{
                box-sizing: border-box;
                width: 141px;
                height: 188px;
                border: 1px #ebebeb solid;
                padding-top: 6px;
                padding-left: 6px;
                .bar-pic{
                    width: 126px;
                    height: 125px;
                    margin-bottom: 8px;
                    transition: 1s;
                }
                p{
                    font-size: 12px;
                    line-height: 21px;
                    text-align: center;
                }
                a:hover div{
                    transform: scale(1.5);
                }
            }
            table{
                box-sizing: border-box;
                width: 290px;
                height: 188px;
                tr td:first-of-type{
                    padding-left: 26px;
                }
                tr td:nth-of-type(2){
                    text-align: center;
                }
                tr td~td{
                    font-size: 14px;
                    color: #666666;
                }
                .contact-table-pic{
                    width: 22px;
                    height: 18px;
                    overflow: hidden;
                }
            }
            .contact-bottom{
                box-sizing: border-box;
                height: 196px;
                width: 430px;
                border: 1px solid #e8e7e7;
                margin-top: 40px;
                overflow: hidden;
                img{
                    width: 100%;
                }
            }
        }
        .contact-right{
            width: 604px;
            height: 424px;
            p{
                font-size: 14px;
                line-height: 32px;
                color: #666666;
            }
            p~p{
                margin-top: 10px;
            }
            input[type="text"]{
                box-sizing: border-box;
                width: 604px;
                height: 34px;
                border: 1px dashed #d4d2d2;
                background: #f9f8f8;
                padding-left: 10px;
                transition: 2s;
            }
            input[type="text"]:hover{
                border: 1px solid skyblue;
                background: slategray;
            }
            input[type="text"]:focus{
                border: 1px solid skyblue;
            }
            textarea{
                box-sizing: border-box;
                width: 604px;
                height: 120px;
                resize: none;
                border: 1px dashed #d4d2d2;
                background: #f9f8f8;
                padding: 10px;
                transition: 2s;
            }
            textarea:hover{
                border: 1px solid skyblue;
                background: slategray;
            }
            textarea:focus{
                border: 1px solid skyblue;
            }
            input[type="submit"]{
                width: 94px;
                height: 30px;
                color: #FFFFFF;
                background: #3c9cd3;
                margin-top: 10px;
            }
        }
    }
}
